﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.uicontrols;

namespace MailQueueUmbracoAdmin
{
    public partial class MailQueueAdmin : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            TabPage detailsTab = DetailsTabs.NewTabPage("LogView");
            DetailsTabs.Width = System.Web.UI.WebControls.Unit.Pixel(200);
            detailsTab.HasMenu = false;

            MailQueueLog detailsTabContent = (MailQueueLog)LoadControl("MailQueueLog.ascx");
            detailsTabContent.TabViewContainer = DetailsTabs;
            detailsTab.Controls.Add(detailsTabContent);
        }
    }
}
